//
//  ChargeSyncController.h
//  Stock
//
//  Created by black sun on 12-3-11.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StockChargeSyncService.h"

@interface ChargeSyncController : UIViewController<ServiceDelegate>


@property(nonatomic, retain) StockChargeSyncService *chargeSyncService;

@property(nonatomic, retain) IBOutlet UIView *loginView;
@property(nonatomic, retain) IBOutlet UIView *signupView;
@property(nonatomic, retain) IBOutlet UIView *forgotPasswdView;
@property(nonatomic, retain) IBOutlet UIView *didLoginView;
@property(nonatomic, retain) IBOutlet UITextField *loginUserName;
@property(nonatomic, retain) IBOutlet UITextField *loginPasswd;
@property(nonatomic, retain) IBOutlet UITextField *sinnupUserName;
@property(nonatomic, retain) IBOutlet UITextField *signupPasswd;
@property(nonatomic, retain) IBOutlet UITextField *signupPasswdConfirm;
@property(nonatomic, retain) IBOutlet UITextField *forgetUserName;
@property(nonatomic, retain) IBOutlet UITextField *forgetPasswd;
@property(nonatomic, retain) IBOutlet UITextField *forgetPasswdConfirm;
@property(nonatomic, retain) IBOutlet UILabel *usernameLabel;

-(IBAction)hideKeyBoard:(id)sender;
-(IBAction)switchToSingup:(id)sender;
-(IBAction)switchToForgetPasswd:(id)sender;

-(IBAction)login:(id)sender;
-(IBAction)signup:(id)sender;
-(IBAction)resetPassword:(id)sender;

@end
